import { Module, VuexModule, Mutation, getModule } from 'vuex-module-decorators';
import store from '@/store';

@Module({ name: 'visitentry', store, dynamic: true })
class VisitentryStore extends VuexModule {
  visit_code: string = '';

  @Mutation
  public setVisitCode(visit_code: any) {
    this.visit_code = visit_code;
  }
}

export const visitentryStore = getModule(VisitentryStore);
